package com.example.librarysystem.model;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;
@Data
public class ResponseResult<T> {
    private Integer total;
    private List<T> records;

    public ResponseResult(Integer total, List<T> records) {
        this.total = total;
        this.records = records;
    }
}
